package cn.tradewin.advisor.persist.services;

import java.util.List;

import cn.tradewin.advisor.exceptions.DBException;
import cn.tradewin.advisor.persist.model.Vacation;

public interface VacationService {
	
	int addVaction(Vacation vacation) throws DBException;
	
	List<Vacation> listAllVacations() throws DBException;
	
	List<Vacation> listSelfVacations(String userid) throws DBException;
	
	int getMaxId(String account) throws DBException;
}
